package org.example.shoppingmall.service;

import org.example.shoppingmall.entity.User;

public interface UserService {
    boolean addUser(User user);
    String login(String username,String password);
    void logout(String token);
    User getUserInfo(String token);
    Boolean infoRevise(String token,String email, String nickname, String phone);
    boolean upGrade(String token);
    boolean uploadAvatar(String token,String avatar);
}
